package com.example.hbase.config;

import com.example.hbase.HBaseConstant;
import com.example.hbase.service.HBaseService;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HbaseWebConfig {

//    @Bean
//    public HBaseService hBaseService(){
//        org.apache.hadoop.conf.Configuration conf = HBaseConfiguration.create();
//        conf.set("hbase.zookeeper.quorum", HBaseConstant.hbaseUrl);
//        conf.set("hbase.client.username", HBaseConstant.accessKeyId);
//        conf.set("hbase.client.password", HBaseConstant.accessKeySecret);
//        return new HBaseService(conf);
//    }
}
